Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sm4_gcm): 修复GHASH逻辑错误造成GCM模式下tag错误 #179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wond4
Copy link

@wond4 wond4 commented Oct 13, 2022

问题描述请参考 #178
经排查是 GHASH 函数未对A、C长度移位,已修复。
修复后运行截图如下:
image
image

PS: 增加了 GHASH 函数的单元测试(来自GMSSL测试代码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant